package com.mashibing.search.service;

import java.io.IOException;
import java.util.Map;

/**
 * @author LengMao
 * @date 2023/8/10 22:35
 */
public interface SearchService {
    void index(String index, String id, String json) throws IOException;

    void update(String index, String id, Map<String, Object> doc)throws IOException;

    boolean exists(String index, String id) throws IOException;

    Map<String, Object> findSmsByParameters(Map<String, Object> parameters)throws IOException;
}
